<?xml version="1.0" encoding="utf-8"?>

<div xmlns="http://www.w3.org/1999/xhtml" xid="window" class="window" component="$UI/system/components/justep/window/window"
  design="device:m;">  
  <div component="$UI/system/components/justep/model/model" xid="model" onParamsReceive="modelParamsReceive">
    <div component="$UI/system/components/justep/data/data" autoLoad="false"
      xid="PasswordData" idColumn="fID" autoNew="true">
      <column name="fID" type="String" xid="xid1"/>  
      <column label="原密码" name="oldPass" type="String" xid="xid2"/>  
      <column label="新密码" name="newPass" type="String" xid="xid3"/>  
      <column label="确认新密码" name="rePass" type="String" xid="xid4"/>
    <rule xid="rule1">
   <col name="oldPass" xid="ruleCol1">
    <required xid="required1">
     <expr xid="default1">true</expr></required> </col> </rule></div>
  </div>  
  <div component="$UI/system/components/justep/panel/panel" class="x-panel x-full"
    xid="panel1"> 
    <div class="x-panel-content" xid="content1">
      <div component="$UI/system/components/justep/labelEdit/labelEdit" class="x-label-edit x-label30"
        xid="labelEdit1"> 
        <label class="x-label" xid="label1" bind-text="$model.PasswordData.label(&quot;oldPass&quot;)"/>  
        <input component="$UI/system/components/justep/input/input" class="form-control x-edit"
          xid="input1" bind-ref="$model.PasswordData.ref(&quot;oldPass&quot;)" valueUpdateMode="input" pattern='^\w{0,16}$' placeHolder="6-16位"/>
      </div>  
      <div component="$UI/system/components/justep/labelEdit/labelEdit" class="x-label-edit x-label30"
        xid="labelEdit2"> 
        <label class="x-label" xid="label2" bind-text="$model.PasswordData.label(&quot;newPass&quot;)"/>  
        <input component="$UI/system/components/justep/input/input" class="form-control x-edit"
          xid="input2" bind-ref="$model.PasswordData.ref(&quot;newPass&quot;)" maxLength="16" pattern="^\w{0,16}$" placeHolder="6-16位"/>
      </div> 
    </div>  
    <div class="x-panel-bottom" xid="bottom1">
      <a component="$UI/system/components/justep/button/button" class="btn btn-default btn-block"
        label="OK" xid="button1" style="height:100%;" onClick="button1Click"> 
        <i xid="i1"/>  
        <span xid="span1">OK</span>
      </a>
    </div>
  </div>
</div>
